home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / win / pasock10.zip / ERRNO.RC < prev    next >
Text File  |  1994-11-16  |  4KB  |  73 lines

  1. /*
  2.  * Filename: errno.rc
  3.  *
  4.  * Description:
  5.  *  String Table with Windows Socket errors as integer identifiers and
  6.  *  Error value and text description in text (string resources).  With
  7.  *  this table as part of a .RC file, the LoadString() function can be
  8.  *  used to retrieve the strings by referencing the error number.
  9.  *
  10.  * Edit History:
  11.  *  18-Feb-93  <MIKE@sx.gar.no> created and sent to WinSockAPI mailing list 
  12.  *                 for public distribution.
  13.  *  25-Apr-93  <rcq@ftp.com>    WSAINITIALIZED respelt as WSAINITIALISED,
  14.  *                 and added header with comments.
  15.  */
  16. #include <winsock.inc>
  17.  
  18. STRINGTABLE
  19. BEGIN
  20.   WSABASEERR,         "[0] No Error"
  21.   WSAEINTR,           "[10004] Interrupted system call"
  22.   WSAEBADF,           "[10009] Bad file number"
  23.   WSAEACCES,          "[10013] Permission denied"
  24.   WSAEFAULT,          "[10014] Bad address"
  25.   WSAEINVAL,          "[10022] Invalid argument"
  26.   WSAEMFILE,          "[10024] Too many open files"
  27.   WSAEWOULDBLOCK,     "[10035] Operation would block"
  28.   WSAEINPROGRESS,     "[10036] Operation now in progress"
  29.   WSAEALREADY,        "[10037] Operation already in progress"
  30.   WSAENOTSOCK,        "[10038] Socket operation on non-socket"
  31.   WSAEDESTADDRREQ,    "[10039] Destination address required"
  32.   WSAEMSGSIZE,        "[10040] Message too long"
  33.   WSAEPROTOTYPE,      "[10041] Protocol wrong type for socket"
  34.   WSAENOPROTOOPT,     "[10042] Bad protocol option"
  35.   WSAEPROTONOSUPPORT, "[10043] Protocol not supported"
  36.   WSAESOCKTNOSUPPORT, "[10044] Socket type not supported"
  37.   WSAEOPNOTSUPP,      "[10045] Operation not supported on socket"
  38.   WSAEPFNOSUPPORT,    "[10046] Protocol family not supported"
  39.   WSAEAFNOSUPPORT,    "[10047] Address family not supported by protocol family"
  40.   WSAEADDRINUSE,      "[10048] Address already in use"
  41.   WSAEADDRNOTAVAIL,   "[10049] Can't assign requested address"
  42.   WSAENETDOWN,        "[10050] Network is down"
  43.   WSAENETUNREACH,     "[10051] Network is unreachable"
  44.   WSAENETRESET,       "[10052] Net dropped connection or reset"
  45.   WSAECONNABORTED,    "[10053] Software caused connection abort"
  46.   WSAECONNRESET,      "[10054] Connection reset by peer"
  47.   WSAENOBUFS,         "[10055] No buffer space available"
  48.   WSAEISCONN,         "[10056] Socket is already connected"
  49.   WSAENOTCONN,        "[10057] Socket is not connected"
  50.   WSAESHUTDOWN,       "[10058] Can't send after socket shutdown"
  51.   WSAETOOMANYREFS,    "[10059] Too many references, can't splice"
  52.   WSAETIMEDOUT,       "[10060] Connection timed out"
  53.   WSAECONNREFUSED,    "[10061] Connection refused"
  54.   WSAELOOP,           "[10062] Too many levels of symbolic links"
  55.   WSAENAMETOOLONG,    "[10063] File name too long"
  56.   WSAEHOSTDOWN,       "[10064] Host is down"
  57.   WSAEHOSTUNREACH,    "[10065] No Route to Host"
  58.   WSAENOTEMPTY,       "[10066] Directory not empty"
  59.   WSAEPROCLIM,        "[10067] Too many processes"
  60.   WSAEUSERS,          "[10068] Too many users"
  61.   WSAEDQUOT,          "[10069] Disc Quota Exceeded"
  62.   WSAESTALE,          "[10070] Stale NFS file handle"
  63.   WSAEREMOTE,         "[10071] Too many levels of remote in path"
  64.   WSASYSNOTREADY,     "[10091] Network SubSystem is unavailable"
  65.   WSAVERNOTSUPPORTED, "[10092] WINSOCK DLL Version out of range"
  66.   WSANOTINITIALISED,  "[10093] Successful WSASTARTUP not yet performed"
  67.   WSAHOST_NOT_FOUND,  "[11001] Host not found"
  68.   WSATRY_AGAIN,       "[11002] Non-Authoritative Host not found"
  69.   WSANO_RECOVERY,     "[11003] Non-Recoverable errors: FORMERR, REFUSED, NOTIMP"
  70.   WSANO_DATA,         "[11004] Valid name, no data record of requested 
  71. type"
  72. END
  73.